﻿using GRPCClass;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SdtpsBase
{
    public interface ITaskEngine
    {
        TaskRequest taskrequest { set; get; }
        GRPCClass.TaskReply taskteply { set; get; }
        GRPCClass.TaskReply execture(GRPCClass.TaskRequest value);
        /// <summary>
        /// 执行完成后执行的事件(针对异步执行的情况)
        /// </summary>
        event EventHandler TaskFinish;

    }
}
